package ru.spb.nicetu.altx.mnemo.math.managers;

import java.util.Date;

public class IDObjectsManager {
  protected IDObjectsManager() {
  }

  private static long base = (new Date()).getTime();;
  private static long offset = 0;
  
  
  private static IDObjectsManager instance = new IDObjectsManager();

  public static IDObjectsManager getInstance() {
    return instance;
  }

  public static long generateID() {
	  return base + (++offset);
//    return (new Date()).getTime();
  }

}
